//统一管理咱们项目平台账户相关的接口
import request from "@/utils/request"
//项目用户相关的请求地址
const API = {
  FUND_LIST_URL: "/super/spread_fund/list",
  FUND_LOGS_LIST_URL: "/super/spread_fund/logs",
  FUND_RECHARGE_LIST_URL: "/super/recharge/order_list",
}

//获取平台账户列表
export const list = (params) =>
  request.get(API.FUND_LIST_URL, { params })

//获取平台账户流水列表
export const logs = (params) =>
  request.get(API.FUND_LOGS_LIST_URL, { params })

//获取平台充值记录列表
export const recharge = (params) =>
  request.get(API.FUND_RECHARGE_LIST_URL, { params })